package com.wfs.myapp.entity.vo;

import com.wfs.myapp.config.JpaDto;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Data
@ToString
public class SearchVo implements Serializable {
    private List<SearchItem> userList;
    private List<SearchItem> bookList;
    private List<SearchItem> groupList;

    @JpaDto
    @Data
    @ToString
    public static class SearchItem {
        private Integer type;
        private Long id;
        private String name;
        private Long userId;
        private String userName;
        private String author;
        private String image;
        private String description;
        private Integer status;
        private String statusStr;
    }
}
